package com.yenlien.traceyun.business.service.rest.control;

import com.alibaba.fastjson.JSONObject;
import com.yenlien.traceyun.business.bean.RestURL;
import com.yenlien.traceyun.business.service.rest.RestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-11-19
 * @description:
 **/
@Service
public class ModelCategoryRestService {

    @Autowired
    private RestService restService;

    public Object loadTree(String companyId) {
        return restService.getJson(RestURL.CONTROL + "modecategory/tree?companyId=" + companyId);
    }

}
